package com.zzu.chat.bean;

import org.litepal.crud.LitePalSupport;

import java.io.Serializable;
import java.util.Date;

public class Task extends LitePalSupport implements Serializable {

    private int id;

    /**
     * ObjectId
     */
    private String objectId;

    /**
     * UserId
     */
    private String userId;

    /**
     * 完成的日期 年月日
     */
    private Date finishedDate;

    /**
     * 完成的时分秒
     */
    private String finishedTime;

    /**
     * 完成的 月 日
     */
    private String finishedMonth;

    /**
     * 结束时间
     */
    private String endTime;

    /**
     * 标签
     */
    private String label;

    /**
     * 优先级
     */
    private int priority;

    /**
     * 任务内容
     */
    private String taskContent;

    /**
     * 任务描述
     */
    private String description;

    /**
     * 是否完成
     */
    private boolean isFinished;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Date getFinishedDate() {
        return finishedDate;
    }

    public void setFinishedDate(Date finishedDate) {
        this.finishedDate = finishedDate;
    }

    public String getFinishedTime() {
        return finishedTime;
    }

    public void setFinishedTime(String finishedTime) {
        this.finishedTime = finishedTime;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public int getPriority() {
        return priority;
    }

    public void setPriority(int priority) {
        this.priority = priority;
    }

    public String getTaskContent() {
        return taskContent;
    }

    public void setTaskContent(String taskContent) {
        this.taskContent = taskContent;
    }

    public boolean isFinished() {
        return isFinished;
    }

    public void setFinished(boolean finished) {
        isFinished = finished;
    }

    public String getFinishedMonth() {
        return finishedMonth;
    }

    public void setFinishedMonth(String finishedMonth) {
        this.finishedMonth = finishedMonth;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getObjectId() {
        return objectId;
    }

    public void setObjectId(String objectId) {
        this.objectId = objectId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "Task{" +
                "id=" + id +
                ", objectId='" + objectId + '\'' +
                ", userId='" + userId + '\'' +
                ", finishedDate=" + finishedDate +
                ", finishedTime='" + finishedTime + '\'' +
                ", finishedMonth='" + finishedMonth + '\'' +
                ", endTime='" + endTime + '\'' +
                ", label='" + label + '\'' +
                ", priority=" + priority +
                ", taskContent='" + taskContent + '\'' +
                ", description='" + description + '\'' +
                ", isFinished=" + isFinished +
                '}';
    }
}
